package com.nfIt;

import com.nfIt.service.Bookservice;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * ClossName:App
 * Pakage:com.nfIt
 * Description
 *
 * @Author L
 * @Create 2024/4/24 20:16
 * @Version 2023.1.3
 */
public class App {
    public static void main(String[] args) {
        ApplicationContext atc = new ClassPathXmlApplicationContext("applicationContext.xml");

        Bookservice bookService = (Bookservice) atc.getBean("service");

        bookService.say();
    }
}
